from django.urls import path,re_path
from django.conf import settings
from . import views
from .views import LoginView,RegisterView

from rest_framework_jwt.views import obtain_jwt_token,verify_jwt_token,refresh_jwt_token
urlpatterns = [
    # path(r'login/',LoginView.as_view()),
    path(r'login/',LoginView.as_view()),
    path(r'verify_token/',refresh_jwt_token),
    path(r'check_phone/',views.CheckPhoneView.as_view()),
    path(r'register/',RegisterView.as_view()),
    path(r'get_sms_code/',views.SMScodeView.as_view())
]